﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet		xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:output omit-xml-declaration="yes" />
	<xsl:param name="pViewNames" />
	<xsl:template match="xml">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
			<tr>
				<xsl:for-each select="group">
					<td align="center" valign="top">
						<table cellpadding="0" cellspacing="0" border="0" width="100%">
							<tr valign="bottom">
								<td>
									<h2>
										<xsl:value-of select="@name"/>
									</h2>
								</td>
							</tr>
							<xsl:for-each select="subgroup">
								<tr>
									<td>
										<a href="" class="BibleStudyLink">
											<xsl:attribute name="href">
												CCA/EstudioBiblico.aspx?Id=<xsl:value-of select="@id"/>
											</xsl:attribute>
											<xsl:value-of select="@name"/>
										</a>
									</td>
								</tr>
							</xsl:for-each>
						</table>
					</td>
					<td width="20px">
						<br/>
					</td>
				</xsl:for-each>
			</tr>
		</table>
	</xsl:template>
</xsl:stylesheet>
